package main

import (
	"log"
	"net"
	"net/http"
	"time"
)

func Hello(hp http.ResponseWriter, r *http.Request) {

}

func main() {

	http.DefaultTransport.(*http.Transport).MaxIdleConnsPerHost = numCoroutines
	tran := http.Transport{
		Proxy: http.ProxyFromEnvironment,
		DialContext: (&net.Dialer{
			Timeout:   30 * time.Second,
			KeepAlive: 30 * time.Second,
		}).DialContext,
		MaxIdleConnsPerHost:   numCoroutines,
		MaxIdleConns:          100,
		IdleConnTimeout:       90 * time.Second,
		TLSHandshakeTimeout:   10 * time.Second,
		ExpectContinueTimeout: 1 * time.Second,
	}

	http.HandleFunc("/", Hello)
	err := http.ListenAndServe("192.168.33.11:8000", nil)
	if err != nil {
		log.Fatal("ListenAndServe: ", err)
	}
}
